import request from '@/utils/request'
import scope from './scope'
const apiPrefix = `${process.env.VUE_APP_BASE_API}/${scope}/sysconfig/`

export const addConfig = (params, config = {}) => {
  return request.post(apiPrefix + 'add', params)
}
export const getConfig = (params, config = {}) => {
  return request.get(apiPrefix + 'query', { params: params, ...config })
}
